工欲善其事 its prerequisiteThe Java development in the eyes of Stormy, an old Domino programmer, I mentioned the large number of logs that are being encountered in Java development. Server Console Brush-like scrolling, log files grow rapidly, debug when the relevant information is often flooded with examples, in many logger gushing output, to find out where the error is sometimes very cost-effective eye. The role of the
Assembly Binding Log Viewer (Fuslogvw.exe)
The Assembly Binding Log Viewer displays detailed information about the failed assembly bindings. This information helps you diagnose why the. NET Framework cannot find an assembly at run time. These failures are usually caused by an assembly deployment to the wrong location
Carly Jacobson wrote that the server log is a log file created and updated by a server. A common example is the access log generated by Apache (open source Web server software), which provides a history of Web page requests. However, Apache does not just collect access information, it also collects information about error logs, and collects ID file processes, scr
When problems occur with our Windows system, the simplest way to analyze and locate failures is to use Event Viewer, such as Event Viewer in Windows XP, to let us analyze system logs, application logs, and security logs to find clues to possible problems. However, objectively speaking, before the Windows version includes the Windows XP Event Viewer in the use of
What if the event log file is corrupted?
As one of the administrative tools included in the Microsoft Management Console, Event Viewer is used to maintain log information on your computer for related programs, security features, and system events. You can browse and manage event logs through Event Viewer, collect va
Apache Log Viewer is a relatively good log analysis software abroad, there is no Chinese version of the download. Analysis interface as shown:
You can customize the view of the breakdown information, such as IP, address, access date, access page, access status, routing address, browse identification (User Agent) as shown: (Open step: Edit->preferences->c
You can use the Event Log Service in the event viewer to view the computer's on and off time. Because the Event Log service starts and closes along with the computer, and records the event log.
It is necessary to introduce two IDCs: 6006 and 6005. In the event viewer, an
TM Chat Log viewer (hint: Register 1 sets, can be used on 3 pcs) The software can view TM chat records without a password.
Use the method, run directly, then select the TM number you want to read, and then click the number you want to view the chat record. The software can see the previous chat record of installing the software.
Note: The software must be installed to the target number to use the computer
The SharePoint ULS Log Viewer project description is a Windows application that makes it easier to view SharePoint ULS log files. Supports filtering and simple views.Information: This is a WPF application, which is supported by LINQ. The current version has the following features: 1. Convert and open multiple SharePoint ULS logs (if multiple or merged logs are se
started with the following SQL statement:SELECT * FROM Msdb.dbo.sysjobhistorywhere step_id=0 and job_id= (select job_id from msdb.dbo.sysjobs where [name]= ' Job name ')and run_dateBecause I added a step_id query condition, so the first time cleaning did not clean up, the actual amount of data is still very large, because only delete a state of the2, to delete:Delete from Msdb.dbo.sysjobhistorywhere job_id= (select job_id from msdb.dbo.sysjobs where [name]= ' Job name ')and run_dateBecause my j
In a Linux system, after Tomcat starts, a lot of information is written to the Catalina.out file by default, and we can track tomcat and related applications running through the Tail-f catalina.out. Under Windows, when we started Tomcat with Startup.bat, we found that the Catalina log was very different from the conten
] tomcat]# bin/startup.shUsing catalina_base:/usr/local/tomcatUsing Catalina_home:/usr/local/tomcatUsing Catalina_tmpdir:/usr/local/tomcat/tempUsing Jre_home:/usr/java/jdk1.6.0_29Using CLASSPATH:/usr/local/tomcat/bin/bootstrap.jarTo see if the log directory generates catalina.yymmdd.out
problem
Each time Tomcat starts, the following log files are automatically produced in the logs directory, and a file of the corresponding date is generated daily, resulting in numerous log files:
Localhost.2012-07-05.txt
Catalina.2012-07-05.txt
Manager.2012-07-05.txt
Host-manager.2012-07-05.txt
Purpose
Tomcat logs are
Reprint Address: http://blog.csdn.net/li_xiao_ming/article/details/21514637
problem
Each time Tomcat starts, the following log files are automatically produced in the logs directory, and a file of the corresponding date is generated daily, resulting in numerous log files:
Localhost.2012-07-05.txt
Catalina.2012-07-05.txt
Manager.2012-07-05.txt
Host-manager.2012
the so-called log framework, even in the process of building an SSH project, know that there is such a framework, know that the three frameworks are used in such a day framework for logging, but there is no active is to use, so at the beginning of the first time, I still use the most primitive system.out, to carry on the tracking of the log. In the project development of the project, encountered a problem,
In Tomcat, access log is not set by default. Configure the following in the Server.xml file.
[HTML] view plain copy print? In general, Tomcat and Apache are used together, and Apache also has access log. TOMCA also set the words are not superfluous.
One advantage of access log
I used log4j in a struts project and posted it on Tomcat, but when I started Tomcat it was always impossible to specify the location of the log file.
If you specify this, when you start Tomcat, you always say that you cannot find the log file.
Log4j.appender.logfile.file=
??Start:is usually run sh tomcat/bin/startup.shStop:typically run the SH tomcat/bin/shutdown.sh script commandView:Run the Ps-ef |grep tomcat output such as the following* * * 5144..。 Wait a minute. Bootstrap startindicates that Tomcat has started normally. 5144 is the process number PID = 5144Kill:kill-9 5144View the
Tomcat automatic cutting log (Windows), tomcat CuttingStep 1: Obtain cronolog
Download cronolog-win32Step 2: Put cronolog.exe in the bin directory of tomcat after decompression Step 3: Modify the tomcat startup. bat file
Call "% EXECUTABLE %" start % CMD_LINE_ARGS %
Replace
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.